package com.ucode.crm.mapper;

import java.util.List;
import com.ucode.crm.mode.Business;

public interface BusinessMapper {

    public int insert(Business business);
    
    public int update(Business business);
    
    public int transfer(Long id,Long ownerUserId);
    
    public int incrFollowupCount(Long id,Integer delta);
    
    public int deleteByLogic(Long id);
    
    public int recover(List<Long> ids);
    
    public int delete(List<Long> ids);
    
    public Business findById(Long id);
    
    public List<Business> findByIds(List<Long> ids);
    
    
}
